<?php
include_once("../getvars.inc.php");
//$_data = ($_SERVER["REQUEST_METHOD"] == "GET")?$_GET:$_POST;
$arrWeb = split(",", $_data["AllWeb"]);
foreach($arrWeb as $strWeb){
	$_SERVER["DOCUMENT_ROOT"] = "/home/share/www/".$strWeb."/secure";

	ob_start();
	include($_SERVER["DOCUMENT_ROOT"]."/language/MakeLanguage.php");
	$strCon = ob_get_contents();
	ob_end_clean();

	print $strWeb." make language file is ";
	if(preg_match("/Make OK/", $strCon)){
		print "OK!!";
	}else{
		print "Error!!";
	}
	print "<br>\n";
	flush();
}
?>